import Vue from 'vue'
import Router from 'vue-router'
import NavList from '@/components/NavList'
import first from '@/components/first'
import quest from '@/components/quest'
import kefu from '@/components/kefu'
import fenlei from '@/components/fenlei'
import my from '@/components/my'
Vue.use(Router)
export default new Router({
linkActiveClass: 'active', // 更改激活状态的Class值
mode:"history",
  
  base:__dirname,
  routes: [
    {
     path:'/',
     name:'first',
     component:first
    },
    {
      path:'/quest',
      name:'quest',
      component:quest
     },
     {
      path:'/kefu',
      name:'kefu',
      component:kefu
     },
     {
      path:'/fenlei',
      name:'fenlei',
      component:fenlei
     },
     {
      path:'/my',
      name:'my',
      component:my
     }
      ] 
})
